Skip to content

Conversation

@validatedev
Copy link

@validatedev validatedev commented Jan 17, 2026

What does this PR do?

Fixes #8973 by exposing thinking variants in ACP model selection:

  • Appends model+variant entries (e.g., claude-sonnet-4/high) to models.availableModels
  • Parses variant from session/set_model selections and keeps session variant in sync
  • Returns proper variant metadata via _meta (modelId, variant, availableVariants) instead of empty object
  • Updated @agentclientprotocol/sdk to 0.13.0

How did you verify your code works?

  • bun run typecheck
  • Zed exposes thinking variants via model selector
  • Verified session/set_model responses include correct _meta.opencode with variant info

Screenshot

CleanShot 2026-01-17 at 12 59 39@2x

@github-actions
Copy link
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@github-actions
Copy link
Contributor

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

@rekram1-node
Copy link
Collaborator

/review

@rekram1-node
Copy link
Collaborator

thanks!

@validatedev
Copy link
Author

@rekram1-node ready for your re-review!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Zed OpenCode ACP thinking variants cannot be accessible

2 participants